<div class="<?php 
	echo 'f-form-widget';
	if ($element['disabled']) echo ' f-form-widget-disabled';
	echo ' f-form-widget-'.$element['widget'].' f_'.$element['widget'].
		'_'.$element['id'].' f-form-widget-size-'.$element['size'].
		' '.$element['class'];
?>">
	<div class="f-form-label"><label for="<?php echo $element['id']; ?>"><?php echo $element['label'] ?></label></div>
	<?php if (isset($element['info'])) { ?><div class="f-form-info"><span><?php 
		echo htmlspecialchars($element['info']); ?></span></div>
	<?php } if (isset($message)) { ?><div class="f-form-element-message"><span><?php echo $message; ?></span></div>
		<?php } ?><div class="f-form-element"><?php 
		$this->render($element['template'],$element); ?></div>
</div>
